package cn.edu.cdp;

import cn.edu.cdp.config.SpringConfig;
import cn.edu.cdp.gui.frame.LoginFrame;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;


public class Main {
    public static void main(String[] args) {
        ApplicationContext ctx = new AnnotationConfigApplicationContext(SpringConfig.class);
        LoginFrame bean = ctx.getBean(LoginFrame.class);
        bean.setVisible(true);
    }
}
